// =================================================================================================
// Name:	PoolManager.h
//
// Author:	Onyebuchi Ekenta
//
// Purpose:
// =================================================================================================

#ifndef POOL_MANAGER_H
#define POOL_MANAGER_H

#include "Pool.h"
#include "Grid.h"
#include <list>
using namespace std;

class PoolManager
{
private:
	list<Pool*> m_Pools;

	static int* m_Map; // Temporarily holds map information. 

	static int GridWidth; 
	static int GridHeight;

	static bool IsAdjacentOnlyToWater(Pool* aPool);
public:
	PoolManager();

	void CreatePools(Grid& grid);
	void AddPools();
	void RenderPools();

};

#endif